package models

import "gorm.io/gorm"

type Com struct {
	gorm.Model
	Name    string `gorm:"type:varchar(50)"`
	Price   int    `gorm:"type:int"`
	Content string `gorm:"type:text"`
}

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}
